<?php

/**
 * Transaction form.
 *
 * @package    Amawal Invest
 * @subpackage form
 * @author     Ameen Shoman<amin.shoman@gmail.com>
 */
class VacationTransationForm extends TransactionForm
{
  public function configure()
  {
  	$this->useFields(array(
  		'vacation_type','approve_flag'
  	));
  	
  	$this->widgetSchema['vacation_type'] = new sfWidgetFormChoice(array('expanded'=>true,'choices'=>globals::$VACATION_TYPE_LIST));
  	$this->validatorSchema['vacation_type'] = new sfValidatorChoice(array('choices'=>array_keys(globals::$VACATION_TYPE_LIST)));
 	
  	
  }
}
